package lesson

import (
	"context"
	"server/internal/service"

	"server/api/lesson/user"
)

func (c *ControllerUser) Logout(ctx context.Context, req *user.LogoutReq) (res *user.LogoutRes, err error) {
	res = new(user.LogoutRes)
	err = service.LessonUser().Logout(ctx)
	return
}
